package com.ckx.domain.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;

import static com.baomidou.mybatisplus.annotation.FieldFill.*;

/**
 * 标签(Tag)表实体类
 *
 * @author makejava
 * @since 2023-08-01 15:58:39
 */
@TableName("sg_tag")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tag implements Serializable {
    private static final long serialVersionUID = 936295277927759968L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //标签名
    private String name;
    @TableField(fill = INSERT)
    private Long createBy;
    @TableField(fill = INSERT)
    private Date createTime;
    @TableField(fill = INSERT_UPDATE)
    private Long updateBy;
    @TableField(fill = INSERT_UPDATE)
    private Date updateTime;
    //删除标志（0代表未删除，1代表已删除）
    private Integer delFlag;
    //备注
    private String remark;


}

